<div class=mcontainer> 
	<div class="p_header">
		欢迎您!,${userInfo.userName}  当前时间：${.now} 访问地址：${userInfo.accessIp} 
		待审批任务：(<a class="bold" onclick="openSysModule('Bpm.ProcessTaskManagerMainPanel','我的任务',this)">${mtaskLists?size}</a>) 
		我的消息：(<a class="bold" onclick="openSysModule('Sys.msg.SysMessageMainPanel','我的消息',this)">${messageLists?size}</a>)
	</div>
    <div class="mytheme mcol-md-6">  
   	  <div class="mpanel-header">
   		待办事项<a class="to-right" onclick="openSysModule('Bpm.ProcessTaskManagerMainPanel','我的任务',this)">更多</a>
   	  </div>
   	  <table class="mtable marginTop10">  
        <thead>  
          <tr><th>任务名称</th><th>任务描述</th><th>发送人</th><th>发送时间</th></tr>  
        </thead>  
        <tbody>  
        <#if (mtaskLists?size>0) >
	          <#list mtaskLists as mtask>
	          		<#if (mtask_index<7)>
	          		<tr class="text-center">
		          		<td><a onclick="showMyTaskWin(${mtask})">${mtask.name}</a></td>
		          		<td>${mtask.description?if_exists}</td>
		          		<td>${mtask.user}</td>
		          		<#-- <td>${mtask.dueDate?string("MM/dd HH:mm")}</td> -->
		          		<td>${mtask.createTime?string("MM/dd HH:mm")}</td>
	          		</tr>  
	          		</#if>
	          </#list>
          <#else>
          		<tr class="text-center height-fit"><td colspan="4">没有任务</td></tr>  
        </#if>
        </tbody>  
      </table>
    </div>  
    
    <div class="mytheme mcol-md-4">  
      <div class="mpanel-header">我的消息<a class="to-right" onclick="openSysModule('Sys.msg.SysMessageMainPanel','我的消息',this)">更多</a></div>
      <ul class="mnotice-ul">
   		<#if (messageLists?size>0) >
          <#list messageLists as msg>
       		<#if (msg_index<8)>
       			<li class="clear">
       				<a onclick="showMyMsgWin(${msg})">
       				<div class="to-left grayColor">[${msg.createdDate?string("MM-dd HH:mm")}]&nbsp;</div>
       				<div class="meclipse">${msg.msgContent}</div>
       				</a>
       			</li>
       		</#if>
          </#list>
        <#else>
          	<li>没有内容</li>
        </#if>
    	</ul>
    </div>  
    
    <div class="mytheme mcol-md-6">
	    <div class="mpanel-header">公告列表<a class="to-right" onclick="openSysModule('Sys.msg.SysNoticeMainPanel','系统公告',this)">更多</a></div>
	   	<ul class="mnotice-ul">
	  		<#if (noticeLists?size>0) >
	         <#list noticeLists as notice>
	      		<#if (notice_index<8)>
	      			<li class="clear">
	      				<div class="to-left meclipse" style="width:86%;"><a onclick="openNewTabNotice('${notice.id}','${notice.title}')">${notice.title}</a></div>
	      				<div class="to-right">${notice.createdDate?string("MM-dd")}</div>
	      			</li>
	      		</#if>
	         </#list>
	       <#else>
	         	<li>没有内容</li>
	       </#if>
	   	</ul>
    </div>  
    
    <div class="mytheme2 mcol-md-4">
    	<div class="mpanel-header">快捷入口</div>
    	<div class="mpanel-body">
    		<span class="box box-red" onclick="openSysModule('Sys.user.UserMainPanel','用户管理',this)">用户管理</span>
    		<span class="box box-green" onclick="openSysModule('Sys.role.RoleMainPanel','角色管理',this)">角色管理</span>
    		<span class="box box-blue" onclick="openSysModule('Sys.resource.ResourceMainPanel','资源管理',this)">资源管理</span>
    		<span class="box box-gray" onclick="openUrlLink('druid','数据源监控',this)">数据源监控</span>
    	</div>
    </div>  
    <div class="mytheme2 mcol-md-4">
    	<div class="mpanel-header">系统信息</div>
    	<div class="mpanel-body">
    		<ul class="mnotice-ul">
    			<li>系统：${osName}</li>
    			<li>运行：${vmName}</li>
    			<li>JVM：初始:${initMemory} 最大:${maxMemory} 使用:${usedMemory}</li>
    		</ul>
    	</div>
    </div>  
<!-- <script>
	document.write("<script src=resources/a.js><\/script>")
</script> -->